package com.smfx.yxt.reqVo;

import com.smfx.yxt.utils.StringUtil;

public class StudentReqVO extends BasePageQueryVO{
	
	//年级号
	private Integer grade;
	//班级号
	private Integer clazz;
	//学生id
	private Integer studentId;
	//学生姓名
	private String studentName;
	//老师id
	private Integer teacherId;
	//性别
	private String sex;
	//毕业年
	private Integer finishYear;
	//身份证
	private String idNo;
	//登录密码
	private String password;
	
	private String openid;
	
	private String relationType;
	
	private String parentOpenid;
	
	public Integer getGrade() {
		return grade;
	}
	public void setGrade(Integer grade) {
		if(grade != null && grade == 0) {
			this.grade = null;
		}else {
			this.grade = grade;
		}
	}
	public Integer getClazz() {
		return clazz;
	}
	public void setClazz(Integer clazz) {
		this.clazz = clazz;
	}
	public Integer getStudentId() {
		return studentId;
	}
	public void setStudentId(Integer studentId) {
		this.studentId = studentId;
	}
	public String getStudentName() {
		return StringUtil.emptyToNull(studentName);
	}
	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}
	public Integer getTeacherId() {
		return teacherId;
	}
	public void setTeacherId(Integer teacherId) {
		this.teacherId = teacherId;
	}
	
	public String getSex() {
		return StringUtil.emptyToNull(sex);
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getOpenid() {
		return StringUtil.emptyToNull(openid);
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public Integer getFinishYear() {
		return finishYear;
	}
	public void setFinishYear(Integer finishYear) {
		this.finishYear = finishYear;
	}
	public String getIdNo() {
		return StringUtil.emptyToNull(idNo);
	}
	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}
	
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = StringUtil.emptyToNull(password);
	}
	public String getRelationType() {
		return StringUtil.emptyToNull(relationType);
	}
	public void setRelationType(String relationType) {
		this.relationType = relationType;
	}
	public String getParentOpenid() {
		return parentOpenid;
	}
	public void setParentOpenid(String parentOpenid) {
		this.parentOpenid = parentOpenid;
	}
	
}
